package com.zenithmind.task.pojo.query;

import com.zenithmind.common.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 任务分类查询条件
 *
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "任务分类查询参数")
public class TaskCategoryQuery extends BaseQuery {

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "父分类ID")
    private String parentId;

    @Schema(description = "分类状态：0-禁用，1-启用")
    private Integer status;

    @Schema(description = "分类类型：1-系统分类，2-用户分类")
    private Integer categoryType;

    @Schema(description = "创建者ID")
    private String creatorId;

    @Schema(description = "是否包含子分类")
    private Boolean includeChildren;
}
